NewHandleSys
You can use the NewHandleSys function to allocate a relocatable block of memory of a specified size in the system heap.
FUNCTION NewHandleSys (logicalSize: Size): Handle;
logicalSize
- The requested size (in bytes) of the relocatable block.
DESCRIPTION
The NewHandleSys function works much as the NewHandle function does, but attempts to allocate the requested block in the system heap zone instead of in the current heap zone. If it cannot, it returns NIL.
RESULT CODES
| noErr | 0 | No error |
| memFullErr | -108 | Not enough memory in heap zone |